package com.tjsinfo.tjsoa.fileExpress.bo;

import com.tjsinfo.tjsoa.Dao.IJDBCDao;
import com.tjsinfo.tjsoa.Dao.IQbcDao;
import com.tjsinfo.tjsoa.fileExpress.dao.IFileExpressGroupDAO;
import com.tjsinfo.tjsoa.fileExpress.vo.FileExpressGroup;

public interface IFileExpressGroupBo {

	public String insertGroup(String uuid, String groupName,int user_id);
	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#getQbcDao()
	 */
	public abstract IQbcDao getQbcDao();

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#setQbcDao(com.tjsinfo.tjsoa.Dao.IQbcDao)
	 */
	public abstract void setQbcDao(IQbcDao qbcDao);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#getListGroupDAO()
	 */
	public abstract IFileExpressGroupDAO getFileExpressGroupDAO();

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#setListGroupDAO(com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupDAO)
	 */
	public abstract void setFileExpressGroupDAO(IFileExpressGroupDAO listGroupDAO);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#getDao()
	 */
	public abstract IJDBCDao getDao();

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#setDao(com.tjsinfo.tjsoa.Dao.IJDBCDao)
	 */
	public abstract void setDao(IJDBCDao dao);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#getPrivateGroup(int)
	 */
	public abstract String[] getGroup(int user_id);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#insertGroup(java.lang.String, int, java.lang.String)
	 */
	public abstract String insertGroup(String groupName, int user_id);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#updateGroup(int, java.lang.String, int, java.lang.String)
	 */
	public abstract String updateGroup(String id, String groupName, int user_id);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#FirstDeleteGroup(int)
	 */
	public abstract String FirstDeleteGroup(String groupid,String dirName);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#deleteGroup(int)
	 */
	public abstract String deleteGroup(String id,String dirName);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.addresslist.AddressList_Group.IAddressListGroupBo#findById(int)
	 */
	public abstract FileExpressGroup findById(String id);
	
	public abstract FileExpressGroup findByMainGroup(int userid,String name);
}